const FormData = (data: any) => {
  let newData = new Array();
  Object.keys(data).forEach((key) => {
    if (data[key]) {
      newData.push(key + '=' + data[key]);
    }
  });
  return newData.join('&');
};
export default FormData;
